package com.woniu.commons.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @BelongsPackage: com.woniu.campus.config
 * @author: aheng
 * @CreateTime: 2025-04-02  12:17
 */
@Data
@Component
@ConfigurationProperties(prefix = "swagger.api-info")
public class SwaggerProperties {
    private String title;
    private String description;
    private String version;
    private String termsOfServiceUrl;
    private Contact contact;
    private String license;
    private String licenseUrl;

    @Data
    public static class Contact {
        private String name;
        private String url;
        private String email;
    }
}
